<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>vueblog</title>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->

    <script>
      // 'use strict';
      // var a = 20;
      function foo () {
        var a = 1;
        var obj = {
          a: 10,
          c: this.a + 20,
          fn: function () {
            return this.a;
          }
        }
        return obj.c;

      }
      console.log(foo());    // ？
      console.log(window.foo());  // ?
    </script>
  </body>
</html>
